package com.gyg.client;

import com.gyg.returns.RespEntity;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "cloudMsgClient", url = "${cloud.box.url}")
public interface CloudMsgClient {
    /**
     * 发送注册验证码
     * @param mobile
     * @return
     */
    @GetMapping("/cloud-msg/send")
    RespEntity sendMsg(@RequestParam("mobile") String mobile);

}
